import { Component, OnInit } from '@angular/core';

import { Router, ActivatedRoute } from '@angular/router';

@Component({
    selector: 'selection',
    templateUrl: 'login-selection.component.html',
    styleUrls: ['./login-selection.scss']
})
export class LoginSelectionComponent implements OnInit {
    constructor(private _router: Router, private _route: ActivatedRoute) { }

    ngOnInit() { }


    gotoLoginPage(userType: string) {
        this._router.navigate(['./' + userType ], {relativeTo: this._route});
    }

}